import Vue from 'vue'
import App from './App.vue'
import Login from "./tianyiyuan/Login";
import Home from "./tianyiyuan/Home";
import adminLogin from "./tianyiyuan/adminLogin";

//router
import Router from "./config/routerconfig";

//element-ui
import ElementUI from 'element-ui'
import 'element-ui/lib/theme-chalk/index.css'
Vue.use(ElementUI)
//axios
import  Axios from 'axios'
//设置axios默认访问路径
Axios.defaults.baseURL = "http://127.0.0.1:9090/demo"
// 将baseURL绑定到全局
Vue.prototype.$axios = Axios
//导入自定义的store.js
import Store from './config/store'
import app from "./App";

new Vue({
  el: '#app',
  render: h => h(app),
  router:Router,
  store:Store

})
